<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <link href="css/leisure.css" rel="stylesheet">
</head>

<body>

<div class="register">
    <form method="post" name="myform" id="myform">
        <dl>
            <dt>您的Email：</dt>
            <dd><input id="email" type="text" class="inputs"/><i class="starts" >&nbsp;*</i><span id="DivEmail"></span></dd>
        </dl>
        <dl>
            <dt>用户名：</dt>
            <dd><input id="userName" type="text" class="inputs"/><i class="starts" >&nbsp;*</i><span id="DivUser"></span></dd>
        </dl>
        <dl>
            <dt>输入密码：</dt>
            <dd><input id="pwd" type="password" class="inputs"/><i class="starts" >&nbsp;*</i><span id="DivPwd"></span></dd>
        </dl>
        <dl>
            <dt>再输入一遍密码：</dt>
            <dd><input id="repwd" type="password" class="inputs"/><i class="starts" >&nbsp;*</i><span id="DivRepwd"></span></dd>
        </dl>

        <dl>
            <dt>&nbsp;</dt>
            <dd><input name="btn" type="submit" value="注册" class="rb1"/></dd>
        </dl>
    </form>
</div>
<script src="js/jquery-1.12.4.js"></script>
<script>
    $(function(){
        $.ajax({
		url: 'http://localhost/shoppingcar/list/',
		type: 'GET',
		// 成功回调
		success: function (res) {
			console.log(res);
		},
		// 失败回调
		error: function (e) {
			console.log(e);
		}
	})
    })
    
</script>
</body>

</html>